<html>
<head><meta charset="utf-8"><title>rustc-rayon extension · t-compiler/wg-parallel-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187679-t-compiler/wg-parallel-rustc/index.html">t-compiler/wg-parallel-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187679-t-compiler/wg-parallel-rustc/topic/rustc-rayon.20extension.html">rustc-rayon extension</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="185119763"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187679-t-compiler/wg-parallel-rustc/topic/rustc-rayon%20extension/near/185119763" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187679-t-compiler/wg-parallel-rustc/topic/rustc-rayon.20extension.html#185119763">(Jan 08 2020 at 15:02)</a>:</h4>
<p><span class="user-mention" data-user-id="116466">@Zoxc</span> : regarding <a href="https://github.com/rust-lang/rustc-rayon/pull/4" target="_blank" title="https://github.com/rust-lang/rustc-rayon/pull/4">https://github.com/rust-lang/rustc-rayon/pull/4</a>, I've not looked too closely at it yet, but my main concern is that I think our goal is to be <em>removing</em> rustc-rayon, not extending it... in any case, you mentioned that the purpose is to avoid passing in a <code>&amp;Scope</code> but rather a "longer lived" <code>&amp;'tcx Scope&lt;'tcx&gt;</code> thing, do you have an in-progress PR for how you plan to use that in rustc specifically?</p>



<a name="185155173"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187679-t-compiler/wg-parallel-rustc/topic/rustc-rayon%20extension/near/185155173" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoxc <a href="https://rust-lang.github.io/zulip_archive/stream/187679-t-compiler/wg-parallel-rustc/topic/rustc-rayon.20extension.html#185155173">(Jan 08 2020 at 20:50)</a>:</h4>
<p>It will be used to run things which we know will be needed later in the background. <a href="https://github.com/rust-lang/rust/pull/67965" target="_blank" title="https://github.com/rust-lang/rust/pull/67965">https://github.com/rust-lang/rust/pull/67965</a> runs <code>early lint checks</code> and HIR map validation in the background that way. I also expect it to be used to load the dep graph in the background, parse files in the background as we see <code>mod</code> items, write metadata in the background during codegen and for other various queries.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>